﻿<!--教师管理页面-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../../script/mui.min.js"></script>
		<link href="../../css/mui.min.css" rel="stylesheet"/>
		<link rel="stylesheet" href="../../css/CFNetPP_Base.css">
		<!--<link rel="stylesheet" type="text/css" href="../../css/base.css"/>-->
		<script type="text/javascript" charset="utf-8">
			mui.init();
		</script>
		<style>
			.management .mui-media-body {
				margin-top: 12px;
			}
			.mui-navigate-right:after, .mui-push-left:after, .mui-push-right:after {
				font-size: 20px;
				font-weight: 700;
			}
			.mui-navigate-right:after, .mui-push-left:after, .mui-push-right:after {
				color: #cdd0d5;
			}
		</style>
	</head>
	<body>
		<ul class="mui-table-view mui-table-view-chevron base_grey base_content_font management">
			<li id="qiandao" class="mui-table-view-cell mui-media">
				<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon01.png">
				<div class="mui-media-body base_dark_grey">
					查看签到
				</div> </a>
			</li>
			<li  id="chakan_ribao" class="mui-table-view-cell mui-media" hidden="hidden">
				<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon003.png">
				<div class="mui-media-body base_dark_grey">
					查看日报
				</div> </a>
			</li>
			<li  id="chakan_zhoubao" class="mui-table-view-cell mui-media" hidden="hidden">
				<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon_ckribao.png">
				<div class="mui-media-body base_dark_grey">
					查看周报
				</div> </a>
			</li>
			<li  id="chakanyuebao" class="mui-table-view-cell mui-media">
				<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon_chakanyuebao.png">
				<div class="mui-media-body base_dark_grey">
					查看月报&amp;评分
				</div> </a>
			</li>
			<li  id ="report" class="mui-table-view-cell mui-media">
				<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon05.png">
				<div class="mui-media-body base_dark_grey">
					实习报告&amp;评分
				</div> </a>
			</li>
			<li id= "updatestudent"class="mui-table-view-cell mui-media">
				<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon002.png">
				<div class="mui-media-body base_dark_grey">
					批量更改学生实习状态
				</div> </a>
			</li>
			<!-- <li id= "shenheshenqing"class="mui-table-view-cell mui-media">
			<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon001.png">
			<div class="mui-media-body">
			审核学生申请
			</div> </a>
			</li> -->
			<li id= "xunfangjilu"class="mui-table-view-cell mui-media">
				<a class='mui-navigate-right' href="javascript:;"> <img class="mui-media-object mui-pull-left" src="../../image/icon_xunfang-.png">
				<div class="mui-media-body base_dark_grey">
					提交巡视记录
				</div> </a>
			</li>
		</ul>
	</body>
	<script src="../../script/api.js" type="text/javascript"></script>
	<script src="../../script/jquery.min.js" type="text/javascript"></script>
	<script>
		apiready = function() {
			customUI();
			//查看签到
			$('#qiandao').click(function() {
				api.openWin({useWKWebView:true,
					name : 'Teacher_checkSignWindow',
					url : 'Teacher_checkSignWindow.html'
				});
			});
			//查看日报
			$('#chakan_ribao').click(function() {
				api.openWin({useWKWebView:true,
					name : 'Teacher_DailyWindow',
					url : 'Teacher_DailyWindow.html'
				});
			});
			//查看周报
			$('#chakan_zhoubao').click(function() {
				api.openWin({useWKWebView:true,
					name : 'Teacher_WeeklyWindow',
					url : 'Teacher_WeeklyWindow.html'
				});
			});
			//实习报告&amp;评分
			$('#report').click(function() {
				api.openWin({useWKWebView:true,
					name : 'Teacher_CompletionReprotWindow',
					url : 'Teacher_CompletionReprotWindow.html'
				});
			});
			//修改学生实习状态
			$('#updatestudent').click(function() {
				api.openWin({useWKWebView:true,
					name : 'changeStateWindow',
					url : 'changeStateWindow.html',
					pageParam : {
						type : 0
					}
				});
			});
			//查看月报
			$('#chakanyuebao').click(function() {
				api.openWin({useWKWebView:true,
					name : 'Teacher_MonthWindow',
					url : 'Teacher_MonthWindow.html'
				});
			});
			//审核实习申请
			$('#shenheshenqing').click(function() {
				api.openWin({useWKWebView:true,
					name : 'Teacher_vettingWindow',
					url : 'Teacher_VettingWindow.html'
				});
			});
			//提交巡视记录
			$('#xunfangjilu').click(function() {
				api.openWin({useWKWebView:true,
					name : 'teacherCheckRecord',
					url : 'teacherCheckRecord.html'
				});
			});
			//$('#xunfangjilu').click(function() {
			//				api.openWin({useWKWebView:true,
			//					name : 'Student_examDetail',
			//					url : 'Student_examDetail.html'
			//				});
			//			});
		}
		function customUI() {
			var opentype = $api.getStorage('cfnetppopentype');
			if (opentype == 1) {//日报
				$('#chakan_zhoubao').hide();
				$('#chakan_ribao').show();
			} else if (opentype == 0) {//周报
				$('#chakan_zhoubao').show();
				$('#chakan_ribao').hide();
			} else if (opentype == 2) {//日报周报都有
				$('#chakan_zhoubao').show();
				$('#chakan_ribao').show();
			}
		}
	</script>
</html>
